package com.ruoyi.service.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.service.project.entity.LaborFavouriteEntity;
import java.util.List;

/**
 * <p>
 * 用户项目收藏表 服务类
 * </p>
 *
 * @author Zane
 * @since 2025-10-23
 */
public interface LaborFavouriteService extends IService<LaborFavouriteEntity> {

  List<LaborFavouriteEntity> getByUserId(Long userId);

  LaborFavouriteEntity getByUserIdAndProjectId(Long userId, String projectId);

  Long getCollectCount(Long userId);

  boolean checkIsCollect(Long userId, String projectId);
}
